home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / Chip 11-96.iso / treiber / grafik / miro / crystal / 10ad / windows / 10adwin.exe / INSTALL.DAT < prev    next >
Text File  |  1995-04-18  |  28KB  |  715 lines

  1. //*****************************************************************************
  2. // Name         : INSTALL.DAT
  3. // Project      : SESAM: Installation miro WINDOWS-BASIC-DISK
  4. // Function     : Scriptfile for KDC-wINSTALL
  5. // Author       : KF / miro Computer Products AG, 
  6. //                Carl-Miele-Str. 4, D-38112 Braunschweig
  7. // created      : 26.01.94
  8. // changed      : 
  9. // revision......when...................who.....->.where.and.what..............
  10. // $Log:$
  11. //*****************************************************************************
  12.  
  13. //*** project header block ****************************************************
  14.  
  15. @DefineProject
  16.   @Name       = "miro╖win - High speed drivers for Windows"
  17.   @Version    = "1.20"
  18.   @OutDrive   = @WindowsDrive
  19.   @SubDir     = "@WindowsDir"
  20.   @InDiskBell = 1
  21. @EndProject
  22.  
  23.  
  24. //*** define variables ********************************************************
  25.  
  26. @DefineVars
  27.   @QString @mName     = "Install disk"
  28.   @QString @bdrive    = "@BootDrive"
  29.   @Integer @Red       = @RGB (255,0,0)
  30.   @Integer @Green     = @RGB (0,255,0)
  31.   @Integer @Blue      = @RGB (0,0,255)
  32.   @Integer @Black     = @RGB (0,0,0)
  33.   @Integer @White     = @RGB (255,255,255)
  34.   @Integer @UnInstall = @False
  35.   @Integer @OldLang   = 0
  36.   @Integer @Delay     = 0
  37.   @Integer @d         = 5
  38.   @Integer @fflag     = 0
  39.   @QString @merke     = ""
  40.   @If (@DirExists ("@WindowsDrive:@WindowsDir\\SYSTEM"))
  41.     @Dir @wSysDir     = "@SubDir\\SYSTEM"
  42.   @Else
  43.     @Dir @wSysDir     = "@SubDir"
  44.   @EndIf
  45.   @If (@DriveRemote (@InDrive))
  46.     @Integer @IsFloppy = 0
  47.   @ElseIf (@Removable (@InDrive))
  48.     @Integer @IsFloppy = 1
  49.   @Else
  50.     @Integer @IsFloppy = 0
  51.   @EndIf
  52. @EndVars
  53.  
  54.  
  55. //*** input language from user ************************************************
  56.  
  57. @SetGroup (E)
  58. @OldLang = 1
  59. @SetLang (1)
  60.  
  61. INPUTLANG:
  62. @GetGroups
  63.   @DlgCtrlSize (0,8,20,12,35)
  64.   @BackGroundMode (2,,)
  65.   @Cls 
  66.   @If ('D' [= @Group)
  67.  
  68. Willkommen bei der miro╖win Installation Version @Version
  69.  
  70. Sprachauswahl:
  71.  
  72.   @Set D = "Deutsch"
  73.   @Set E = "English"
  74.  
  75.   @Else
  76.  
  77. Welcome to the miro╖win installation version @Version
  78.  
  79. Language selection:
  80.  
  81.   @Set E = "English"
  82.   @Set D = "Deutsch"
  83.  
  84.   @EndIf
  85. @EndGroups
  86.  
  87. @If ('D' [= @Group && @OldLang != 0)
  88.   @FlushGroups ()
  89.   @SetGroup (D)
  90.   @OldLang = 0
  91.   @SetLang (0)
  92. //@Goto INPUTLANG
  93. @ElseIf ('E' [= @Group && @OldLang != 1)
  94.   @FlushGroups ()
  95.   @SetGroup (E)
  96.   @OldLang = 1
  97.   @SetLang (1)
  98. //@Goto INPUTLANG
  99. @EndIf  
  100.  
  101.  
  102. //*** define language dependant strings ***************************************
  103.  
  104. @DefineVars
  105.   @If ('D' [= @Group)
  106.     @QString @M00 = "Die Installation unterstⁿtzt keine" 
  107.     @QString @M01 = "Version von Windows vor 3.1 !"
  108.     @QString @M10 = "WΣhlen Sie das Board aus, welches Sie installieren wollen:" 
  109.     @QString @M12 = "Installierte Software komplett entfernen"
  110.     @QString @M20 = "WΣhlen Sie mit der Maus die Software aus, die Sie installieren wollen:" 
  111.     @QString @M22 = "Windows 3.1 Treiber Software"
  112.     @QString @M23 = "zusΣtzliche miroWINTOOLS"
  113.     @QString @M24 = "miro-Hintergrundbild"
  114.     @QString @M30 = "Software entfernen:"
  115.     @QString @M31 = "Die installierte Software ist aktiv und kann nicht gel÷scht werden."
  116.     @QString @M32 = "Drⁿcken Sie OK, um mit der Installation fortzufahren."
  117.   @Else
  118.     @QString @M00 = "The installation does not support"
  119.     @QString @M01 = "any version of Windows prior to 3.1 !"
  120.     @QString @M10 = "Select with your mouse the board you want to install:" 
  121.     @QString @M12 = "Completely remove installed software"
  122.     @QString @M20 = "Select with your mouse the software you want to install:"
  123.     @QString @M22 = "Windows 3.1 driver software"
  124.     @QString @M23 = "additional miroWINTOOLS"
  125.     @QString @M24 = "miro wallpaper"
  126.     @QString @M30 = "Uninstall software:"
  127.     @QString @M31 = "The installed software is active and can therfore not be deleted."
  128.     @QString @M32 = "Press OK to proceed with the installation"
  129.   @EndIf
  130. @EndVars
  131.  
  132.   
  133. //*** check windows version ***************************************************
  134.  
  135. @If (@WindowsMajor < 3 || @WindowsMajor == 3 && @WindowsMinor < 1)
  136.   @FlushKeyboard
  137.   @Display
  138.   @BackGroundMode (3, @Red, @Red)
  139.   @Cls
  140. @M00
  141. @M01
  142.   @Pause
  143.   @Abort
  144.   @EndDisplay
  145. @Endif
  146.  
  147.  
  148. //*** input board type by user ************************************************
  149.  
  150. BOARDSELECT:
  151. @GetOption
  152.   @DlgCtrlSize (0,4,0,15,50)
  153.   @BackGroundMode (3,@Blue, @Blue)
  154.   @Cls
  155.  
  156. @M10
  157.  
  158.   @Option 100 = "miroCRYSTAL 10AD (1MB)" 
  159.   @Option 210 = "@M12"
  160. @EndOption
  161.  
  162.  
  163. //*** input items to install from user ****************************************
  164.  
  165. @If (210 [! @Option) // uninstall
  166.   @SetOption (200)
  167.   @GetOption
  168.     @CheckBox
  169.     @DlgCtrlSize (0,4,0,8,50)
  170.     @BackGroundMode (3,@Blue, @Blue)
  171.     @Cls
  172.   
  173. @M20
  174.  
  175.     @Option 200 = "@M22"
  176.     @Option 201 = "@M23"
  177.     @Option 202 = "@M24"
  178.   @EndOption
  179. @EndIf
  180.  
  181.  
  182. //*** Uninstall software ******************************************************
  183.  
  184. @If (210 [= @Option) // uninstall
  185. @If (@StrFind(@GetINI ("boot", "386grabber", "system.ini"),"alvga") > -1)
  186.   @FlushKeyboard
  187.   @Display
  188. @M31
  189. @M32
  190.   @Pause
  191.   @EndDisplay
  192.   @ClearOption (210)
  193.   @UnInstall = @True
  194.   @Goto BOARDSELECT
  195.  
  196. @Else
  197.   @FlushKeyboard
  198.   @Display
  199. @M30
  200.   @Pause
  201.   @EndDisplay
  202.  
  203.   @Delete ("@OutDrive:@wSysDir\\OEMC10AD.*")
  204.   @Delete ("@OutDrive:@wSysDir\\1AD?????.DRV")
  205.   @Delete ("@OutDrive:@wSysDir\\ALVGA.*")
  206.   @Delete ("@OutDrive:@wSysDir\\VDDAL.386")
  207.   @Delete ("@OutDrive:@wSysDir\\ALIENINI.EXE")
  208.   @Delete ("@OutDrive:@SubDir\\CRYS10AD.BMP")
  209.   @Delete ("@OutDrive:@SubDir\\ALIEN.MON")
  210.   @Delete ("@OutDrive:@SubDir\\MINFO.TXT")
  211.   @Delete ("@OutDrive:@SubDir\\MWINTOOL.INI")
  212.   @Delete ("@OutDrive:@SubDir\\MSUP*.*")
  213.   @Delete ("@OutDrive:@SubDir\\MONSEL.*")
  214.   @Delete ("@OutDrive:@SubDir\\MIROSCOP.EXE")
  215.   @Delete ("@OutDrive:@SubDir\\MIROHOOK.DLL")
  216.   @Delete ("@OutDrive:@SubDir\\VPM*.*")
  217.   @Delete ("@OutDrive:@SubDir\\MSCOPE*.HLP")
  218.   @Delete ("@OutDrive:@SubDir\\MTINT*.*")
  219.   @Delete ("@OutDrive:@SubDir\\MSIZE*.*")
  220.   @Delete ("@OutDrive:@SubDir\\VIRTDLL.DLL")
  221.   @Delete ("@OutDrive:@SubDir\\MPWRSAVE.SCR")
  222.   @Delete ("@OutDrive:@SubDir\\TWIN*.*")
  223.   @Delete ("@OutDrive:@SubDir\\WSIZER.*")
  224.   @Delete ("@OutDrive:@SubDir\\WADJUST.*")
  225.   @Delete ("@OutDrive:@SubDir\\MFONTCOM.EXE")
  226.   @Delete ("@OutDrive:@wSysDir\\OEMC10SD.*")
  227.   @Delete ("@OutDrive:@wSysDir\\OEMC20SD.*")
  228.   @Delete ("@OutDrive:@wSysDir\\OEMC20SV.*")
  229.   @Delete ("@OutDrive:@wSysDir\\OEMC40SV.*")
  230.   @Delete ("@OutDrive:@wSysDir\\OEMMAG40.*")
  231.   @Delete ("@OutDrive:@wSysDir\\OEMMAG20.*")
  232.   @Delete ("@OutDrive:@wSysDir\\OEMC20TW.*")
  233.   @Delete ("@OutDrive:@wSysDir\\OEMBIBO?.*")
  234.   @Delete ("@OutDrive:@wSysDir\\OEMMAGS4.*")
  235.   @Delete ("@OutDrive:@wSysDir\\OEMRAIN.*")
  236.   @Delete ("@OutDrive:@wSysDir\\OEMCR8S.*")
  237.   @Delete ("@OutDrive:@wSysDir\\OEMCR16S.*")
  238.   @Delete ("@OutDrive:@wSysDir\\OEMCR24S.*")
  239.   @Delete ("@OutDrive:@wSysDir\\OEMCR32S.*")
  240.   @Delete ("@OutDrive:@wSysDir\\OEMC40PV.*")
  241.   @Delete ("@OutDrive:@wSysDir\\OEMC20PV.*")
  242.   @Delete ("@OutDrive:@wSysDir\\1SD*.DRV")
  243.   @Delete ("@OutDrive:@wSysDir\\C20SD*.DRV")
  244.   @Delete ("@OutDrive:@wSysDir\\C20SV*.DRV")
  245.   @Delete ("@OutDrive:@wSysDir\\C40SV*.DRV")
  246.   @Delete ("@OutDrive:@wSysDir\\C40PV*.DRV")
  247.   @Delete ("@OutDrive:@wSysDir\\C20PV*.DRV")
  248.   @Delete ("@OutDrive:@wSysDir\\M20*.DRV")
  249.   @Delete ("@OutDrive:@wSysDir\\M40*.DRV")
  250.   @Delete ("@OutDrive:@wSysDir\\TW10*.DRV")
  251.   @Delete ("@OutDrive:@wSysDir\\TW20*.DRV")
  252.   @Delete ("@OutDrive:@wSysDir\\TWIN.DRV")
  253.   @Delete ("@OutDrive:@wSysDir\\MAGS4*.DRV")
  254.   @Delete ("@OutDrive:@wSysDir\\RAIN*.DRV")
  255.   @Delete ("@OutDrive:@wSysDir\\C8S*.DRV")
  256.   @Delete ("@OutDrive:@wSysDir\\CR16S*.DRV")
  257.   @Delete ("@OutDrive:@wSysDir\\CR24S*.DRV")
  258.   @Delete ("@OutDrive:@wSysDir\\CR32S*.DRV")
  259.   @Delete ("@OutDrive:@wSysDir\\OCTO.MON")
  260.   @Delete ("@OutDrive:@wSysDir\\OCTOVGA.*")
  261.  
  262.   @Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
  263.   @Delete ("@OutDrive:@SubDir\\*.MIR")
  264.  
  265.   @WinExec ("PROGMAN.EXE", 1) 
  266. @Display // ???
  267.   @ProgramManager ("[ShowGroup (miroWINTOOLS, 2)]")
  268.   @Delay = @SystemDate 
  269. CLa: @If (@SystemDate - @Delay <= @d) @Goto CLa @EndIf 
  270.   @ProgramManager ("[DeleteItem (miro SUPERSCREEN)]")
  271.   @Delay = @SystemDate 
  272. CLb: @If (@SystemDate - @Delay <= @d) @Goto CLb @EndIf 
  273.   @ProgramManager ("[DeleteItem (miro MONITOR SELECT)]")
  274.   @Delay = @SystemDate 
  275. CLc: @If (@SystemDate - @Delay <= @d) @Goto CLc @EndIf 
  276.   @ProgramManager ("[DeleteItem (miroTINT CONTROL)]")
  277.   @Delay = @SystemDate 
  278. CLd: @If (@SystemDate - @Delay <= @d) @Goto CLd @EndIf 
  279.   @ProgramManager ("[DeleteItem (miro HOTKEY)]") 
  280.   @Delay = @SystemDate 
  281. CLk: @If (@SystemDate - @Delay <= @d) @Goto CLk @EndIf 
  282.   @ProgramManager ("[DeleteItem (miro PINBOARD)]") 
  283.   @Delay = @SystemDate 
  284. CLl: @If (@SystemDate - @Delay <= @d) @Goto CLl @EndIf 
  285.   @ProgramManager ("[DeleteItem (miroSCREEN-Adjust)]") 
  286.   @Delay = @SystemDate 
  287. CLe: @If (@SystemDate - @Delay <= @d) @Goto CLe @EndIf 
  288.   @ProgramManager ("[DeleteItem (miro FONTCOMPILER)]")
  289.   @Delay = @SystemDate 
  290. CLf: @If (@SystemDate - @Delay <= @d) @Goto CLf @EndIf 
  291.   @ProgramManager ("[DeleteItem (miroSCOPE)]")
  292.   @Delay = @SystemDate 
  293. CLg: @If (@SystemDate - @Delay <= @d) @Goto CLg @EndIf 
  294.   @ProgramManager ("[DeleteItem (miroSIZE CALIBRATION)]")
  295.   @Delay = @SystemDate 
  296. CLh: @If (@SystemDate - @Delay <= @d) @Goto CLh @EndIf 
  297.   @ProgramManager ("[DeleteItem (miro TWINFACE)]")
  298.   @Delay = @SystemDate 
  299. CLi: @If (@SystemDate - @Delay <= @d) @Goto CLi @EndIf 
  300.   @ProgramManager ("[DeleteItem (Information)]")
  301.   @Delay = @SystemDate 
  302. CLj: @If (@SystemDate - @Delay <= @d) @Goto CLj @EndIf 
  303.   @ProgramManager ("[DeleteGroup (miroWINTOOLS)]")
  304.   @Delay = @SystemDate 
  305. CLm: @If (@SystemDate - @Delay <= @d) @Goto CLm @EndIf 
  306.   @ProgramManager ("[DeleteItem (VESA Power Manager)]")
  307.   @Delay = @SystemDate 
  308. CLn: @If (@SystemDate - @Delay <= @d) @Goto CLn @EndIf 
  309. @EndDisplay
  310.  
  311.   @SetINI ("v631p.drv","FontSize",, "system.ini")
  312.   @SetINI ("v631p.drv","EnableHwCursor",, "system.ini")
  313.   @SetINI ("v631p.drv","WidthXHeight",, "system.ini")
  314.   @SetINI ("avga800.drv","FontSize",, "system.ini")
  315.   @SetINI ("avga800.drv","EnableHwCursor",, "system.ini")
  316.   @SetINI ("avga800.drv","WidthXHeight",, "system.ini")
  317.   @SetINI ("al314p.drv","FontSize",, "system.ini")
  318.   @SetINI ("al314p.drv","EnableHwCursor",, "system.ini")
  319.   @SetINI ("al314p.drv","WidthXHeight",, "system.ini")
  320.   @SetINI ("avga1280.drv","FontSize",, "system.ini")
  321.   @SetINI ("avga1280.drv","EnableHwCursor",, "system.ini")
  322.   @SetINI ("avga1280.drv","WidthXHeight",, "system.ini")
  323.   @SetINI ("al3164p.drv","FontSize",, "system.ini")
  324.   @SetINI ("al3164p.drv","EnableHwCursor",, "system.ini")
  325.   @SetINI ("al3164p.drv","WidthXHeight",, "system.ini")
  326.   @SetINI ("al16m.drv","FontSize",, "system.ini")
  327.   @SetINI ("al16m.drv","EnableHwCursor",, "system.ini")
  328.   @SetINI ("al16m.drv","WidthXHeight",, "system.ini")
  329.   @SetINI ("v631f8s.drv","FontSize",, "system.ini")
  330.   @SetINI ("v631f8s.drv","EnableHwCursor",, "system.ini")
  331.   @SetINI ("v631f8s.drv","WidthXHeight",, "system.ini")
  332.  
  333.   @SetINI ("928.drv", "dpi",, "system.ini")
  334.   @SetINI ("928.drv", "Virtual_Size_X",, "system.ini")
  335.   @SetINI ("928.drv", "Virtual_Size_Y",, "system.ini")
  336.   @SetINI ("928.drv", "Screen_Size_X",, "system.ini")
  337.   @SetINI ("928.drv", "Screen_Size_Y",, "system.ini")
  338.   @SetINI ("928.drv", "Memory_Size_X",, "system.ini")
  339.   @SetINI ("928.drv", "Memory_Size_Y",, "system.ini")
  340.   @SetINI ("928.drv", "Pixel_Size",, "system.ini")
  341.   @SetINI ("928.drv", "polygon-support",, "system.ini")
  342.   @SetINI ("928.drv", "TV",, "system.ini")
  343.   @SetINI ("928.drv", "2in1",, "system.ini")
  344.   @SetINI ("928.drv", "15BPP",, "system.ini")
  345.   @SetINI ("928.drv", "notaus",, "system.ini")
  346.   @SetINI ("928.drv", "DRAM",, "system.ini")
  347.   @SetINI ("928.drv", "VXPBlt",, "system.ini")
  348.   @SetINI ("928.drv", "FIFO",, "system.ini")
  349.   @SetINI ("928.drv", "Mon_Data",, "system.ini")
  350.   @SetINI ("928.drv", "Mon_Path",, "system.ini")
  351.   @SetINI ("928.drv", "MonDesc",, "system.ini")
  352.   @SetINI ("928.drv", "BoardDesc",, "system.ini")
  353.   @SetINI ("928.drv", "CardID",, "system.ini")
  354.   @SetINI ("928.drv", "CardSubID",, "system.ini")
  355.   @SetINI ("928.drv", "Font",, "system.ini")
  356.   @SetINI ("928.drv", "RAM",, "system.ini")
  357.   @SetINI ("928.drv", "PhysBoardNr",, "system.ini")
  358.   @SetINI ("928.drv", "SysColors",, "system.ini")
  359.  
  360.   @SetINI ("twinleft.drv", "dpi",, "system.ini")
  361.   @SetINI ("twinleft.drv", "Virtual_Size_X",, "system.ini")
  362.   @SetINI ("twinleft.drv", "Virtual_Size_Y",, "system.ini")
  363.   @SetINI ("twinleft.drv", "Screen_Size_X",, "system.ini")
  364.   @SetINI ("twinleft.drv", "Screen_Size_Y",, "system.ini")
  365.   @SetINI ("twinleft.drv", "Memory_Size_X",, "system.ini")
  366.   @SetINI ("twinleft.drv", "Memory_Size_Y",, "system.ini")
  367.   @SetINI ("twinleft.drv", "Pixel_Size",, "system.ini")
  368.   @SetINI ("twinleft.drv", "polygon-support",, "system.ini")
  369.   @SetINI ("twinleft.drv", "TV",, "system.ini")
  370.   @SetINI ("twinleft.drv", "2in1",, "system.ini")
  371.   @SetINI ("twinleft.drv", "15BPP",, "system.ini")
  372.   @SetINI ("twinleft.drv", "notaus",, "system.ini")
  373.   @SetINI ("twinleft.drv", "DRAM",, "system.ini")
  374.   @SetINI ("twinleft.drv", "VXPBlt",, "system.ini")
  375.   @SetINI ("twinleft.drv", "FIFO",, "system.ini")
  376.   @SetINI ("twinleft.drv", "Mon_Data",, "system.ini")
  377.   @SetINI ("twinleft.drv", "Mon_Path",, "system.ini")
  378.   @SetINI ("twinleft.drv", "MonDesc",, "system.ini")
  379.   @SetINI ("twinleft.drv", "BoardDesc",, "system.ini")
  380.   @SetINI ("twinleft.drv", "CardID",, "system.ini")
  381.   @SetINI ("twinleft.drv", "CardSubID",, "system.ini")
  382.   @SetINI ("twinleft.drv", "Font",, "system.ini")
  383.   @SetINI ("twinleft.drv", "RAM",, "system.ini")
  384.   @SetINI ("twinleft.drv", "PhysBoardNr",, "system.ini")
  385.   @SetINI ("twinleft.drv", "SysColors",, "system.ini")
  386.  
  387.   @SetINI ("twinright.drv", "dpi",, "system.ini")
  388.   @SetINI ("twinright.drv", "Virtual_Size_X",, "system.ini")
  389.   @SetINI ("twinright.drv", "Virtual_Size_Y",, "system.ini")
  390.   @SetINI ("twinright.drv", "Screen_Size_X",, "system.ini")
  391.   @SetINI ("twinright.drv", "Screen_Size_Y",, "system.ini")
  392.   @SetINI ("twinright.drv", "Memory_Size_X",, "system.ini")
  393.   @SetINI ("twinright.drv", "Memory_Size_Y",, "system.ini")
  394.   @SetINI ("twinright.drv", "Pixel_Size",, "system.ini")
  395.   @SetINI ("twinright.drv", "polygon-support",, "system.ini")
  396.   @SetINI ("twinright.drv", "TV",, "system.ini")
  397.   @SetINI ("twinright.drv", "2in1",, "system.ini")
  398.   @SetINI ("twinright.drv", "15BPP",, "system.ini")
  399.   @SetINI ("twinright.drv", "notaus",, "system.ini")
  400.   @SetINI ("twinright.drv", "DRAM",, "system.ini")
  401.   @SetINI ("twinright.drv", "VXPBlt",, "system.ini")
  402.   @SetINI ("twinright.drv", "FIFO",, "system.ini")
  403.   @SetINI ("twinright.drv", "Mon_Data",, "system.ini")
  404.   @SetINI ("twinright.drv", "Mon_Path",, "system.ini")
  405.   @SetINI ("twinright.drv", "MonDesc",, "system.ini")
  406.   @SetINI ("twinright.drv", "BoardDesc",, "system.ini")
  407.   @SetINI ("twinright.drv", "CardID",, "system.ini")
  408.   @SetINI ("twinright.drv", "CardSubID",, "system.ini")
  409.   @SetINI ("twinright.drv", "Font",, "system.ini")
  410.   @SetINI ("twinright.drv", "RAM",, "system.ini")
  411.   @SetINI ("twinright.drv", "PhysBoardNr",, "system.ini")
  412.   @SetINI ("twinright.drv", "SysColors",, "system.ini")
  413.  
  414.   @SetINI ("boot.description", "displayinf",, "system.ini")
  415.   @SetINI ("boot.description", "displayinf2",, "system.ini")
  416.   @SetINI ("mboot.description", "displayinf",, "system.ini")
  417.   @SetINI ("mboot.description", "displayinf2",, "system.ini")
  418.   @SetINI ("mboot.description", "mboot",, "system.ini")
  419.   @SetINI ("mboot.description", "f_flag",, "system.ini")
  420.   @SetINI ("mboot.description", "boardfam",, "system.ini")
  421.   @SetINI ("mboot.description", "displayinf",, "system.ini")
  422.   @SetINI ("mboot.description", "resolution",, "system.ini")
  423.   @SetINI ("mboot.description", "resolution2",, "system.ini")
  424.   @SetINI ("mboot.description", "left",, "system.ini")
  425.   @SetINI ("mboot.description", "right",, "system.ini")
  426.   @SetINI ("mboot.description", "BusType",, "system.ini")
  427.   @SetINI ("mboot.description", "BoardDesc",, "system.ini")
  428.   @SetINI ("mboot.description", "MonDesc",, "system.ini")
  429.   @SetINI ("mboot.description","Screen_Size_X",, "system.ini")
  430.   @SetINI ("mboot.description","Screen_Size_Y",, "system.ini")
  431.   @SetINI ("mboot.description","Pixel_Size",, "system.ini")
  432.   @SetINI ("mboot.description","dpi",, "system.ini")
  433.  
  434.   @SetINI ("2in1.drv", "driverx1",, "system.ini")
  435.   @SetINI ("2in1.drv", "driverx2",, "system.ini")
  436.   @SetINI ("2in1.drv", "display1",, "system.ini")
  437.   @SetINI ("2in1.drv", "display2",, "system.ini")
  438.  
  439.   @SetINI ("miroSCOPE", "Sensibility",, "win.ini")
  440.   @SetINI ("miroSCOPE", "Zoom Factor",, "win.ini")
  441.   @SetINI ("miroSCOPE", "Hotkey Number",, "win.ini")
  442.   @SetINI ("miroSCOPE", "Window dimensions",, "win.ini")
  443.  
  444.   @SetINI ("miroTWINFACE", "top",, "win.ini")
  445.   @SetINI ("miroTWINFACE", "run",, "win.ini")
  446.   @SetINI ("miroTWINFACE", "align",, "win.ini")
  447.  
  448.   @SetINI ("miroVIRTUAL", "top",, "win.ini")
  449.   @SetINI ("miroVIRTUAL", "run",, "win.ini")
  450.   @SetINI ("miroVIRTUAL", "align",, "win.ini")
  451.  
  452.   @SetINI ("TintControl", "SIP_MONTEMP",, "win.ini")
  453.   @SetINI ("TintControl", "SIP_COLOR",, "win.ini")
  454.   @SetINI ("TintControl", "CLUT",, "win.ini")
  455.   @SetINI ("TintControl", "CLUT1",, "win.ini")
  456.   @SetINI ("TintControl", "CLUT2",, "win.ini")
  457.  
  458.   @SetINI ("miroSIZE CALIBRATION", "DP100mmX",, "win.ini")
  459.   @SetINI ("miroSIZE CALIBRATION", "DP100mmY",, "win.ini")
  460.   @SetINI ("miroSIZE CALIBRATION", "HiResMonitorX",, "win.ini")
  461.   @SetINI ("miroSIZE CALIBRATION", "HiResMonitorY",, "win.ini")
  462.  
  463.   @SetINI ("Screensaver.miroPOWERSAVE", "VESAMonitors",, "control.ini")
  464.   @SetINI ("Screensaver.miroPOWERSAVE", "ResumeAfterPOWERDOWN",, "control.ini")
  465.   @SetINI ("Screensaver.miroPOWERSAVE", "TEST_VESAMonitors",, "control.ini")
  466.   @SetINI ("Screensaver.miroPOWERSAVE", "StandbyTime",, "control.ini")
  467.   @SetINI ("Screensaver.miroPOWERSAVE", "SuspendTime",, "control.ini")
  468.  
  469.   @SetINI ("s3_24.drv", "FontSize",, "system.ini")
  470.   @SetINI ("s3_24.drv", "WidthXHeight",, "system.ini")
  471.  
  472.   @merke = @GetINI("Windows", "run","win.ini")
  473.   @If (@StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE") > -1)
  474.     @merke = @StrDel("@merke", @StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE"),@StrLen("@OutDrive:@SubDir\\WSIZER.EXE "))
  475.     @SetINI ("Windows", "run", "@merke", "win.ini")
  476.   @EndIf
  477.  
  478.   @ClearOption (210)
  479.   @UnInstall = @True
  480.   @Goto BOARDSELECT
  481. @EndIf
  482. @EndIf
  483.  
  484.  
  485. //*** files to be copied ******************************************************
  486.  
  487. @If (200 [= @Option    // copy if Windows drivers
  488.     || 201 [= @Option) // or miro windows tools
  489.   @If ('D' [= @Group)
  490.     @Copy ("@InDrive:\\README.DEU","@OutDrive:@SubDir\\MINFO.TXT")
  491.   @Else
  492.     @Copy ("@InDrive:\\README.ENG","@OutDrive:@SubDir\\MINFO.TXT")
  493.   @EndIf
  494. @EndIf
  495.  
  496. @If (200 [= @Option) // Windows drivers
  497.   @DefineDisk
  498.     @Label = "Install disk # 1/1"
  499.     @BeginLib DRIVERS.RED
  500.       @File OEMC10AD.INF @Size 10000  @Out @wSysDir\\*.* @Option 100
  501.  
  502.       @File AVGA800.DRV  @Size 250000 @Out @wSysDir\\1AD08_04.* @Option 100
  503.       @File V631P.DRV    @Size 250000 @Out @wSysDir\\1AD10_08.* @Option 100 
  504.       @File AL314P.DRV   @Size 250000 @Out @wSysDir\\1AD10_04.* @Option 100
  505.       @File AVGA1280.DRV @Size 250000 @Out @wSysDir\\1AD12_04.* @Option 100
  506.       @File AL3164P.DRV  @Size 250000 @Out @wSysDir\\1AD08_16.* @Option 100
  507.       @File AL16M.DRV    @Size 110000 @Out @wSysDir\\1AD06_24.* @Option 100 
  508.  
  509. //      @File V631F8S.DRV  @Size 250000 @Out @wSysDir\\1AD12_08.* @Option 101
  510.  
  511.       @File ALIEN.MON    @Size 5000   @Out *.*
  512.       @File ALIENINI.EXE @Size 15000  @Out @wSysDir\\*.* 
  513.       @File ALVGA.3GR    @Size 15000  @Out @wSysDir\\*.* 
  514.       @File VDDAL.386    @Size 40000  @Out @wSysDir\\*.* 
  515.       @File VGALOGO.LGO  @Size 2000   @Out @wSysDir\\*.* 
  516.       @File VGACOLOR.2GR @Size 5000   @Out @wSysDir\\*.* 
  517.  
  518.       @File 8514FIX.FON  @Size 12000  @Out @wSysDir\\*.* 
  519.       @File 8514OEM.FON  @Size 12000  @Out @wSysDir\\*.* 
  520.       @File 8514SYS.FON  @Size 12000  @Out @wSysDir\\*.* 
  521.       @File CGA40850.FON @Size 6000   @Out @wSysDir\\*.* 
  522.       @File CGA40WOA.FON @Size 6000   @Out @wSysDir\\*.* 
  523.       @File CGA80850.FON @Size 6000   @Out @wSysDir\\*.* 
  524.       @File CGA80WOA.FON @Size 6000   @Out @wSysDir\\*.* 
  525.       @File COURE.FON    @Size 25000  @Out @wSysDir\\*.* 
  526.       @File COURF.FON    @Size 30000  @Out @wSysDir\\*.* 
  527.       @File EGA40850.FON @Size 8000   @Out @wSysDir\\*.* 
  528.       @File EGA40WOA.FON @Size 8000   @Out @wSysDir\\*.* 
  529.       @File EGA80850.FON @Size 8000   @Out @wSysDir\\*.* 
  530.       @File EGA80WOA.FON @Size 8000   @Out @wSysDir\\*.* 
  531.       @File MODERN.FON   @Size 8000   @Out @wSysDir\\*.* 
  532.       @File ROMAN.FON    @Size 15000  @Out @wSysDir\\*.* 
  533.       @File SCRIPT.FON   @Size 12000  @Out @wSysDir\\*.* 
  534.       @File SERIFE.FON   @Size 60000  @Out @wSysDir\\*.* 
  535.       @File SERIFF.FON   @Size 82000  @Out @wSysDir\\*.* 
  536.       @File SMALLE.FON   @Size 26000  @Out @wSysDir\\*.* 
  537.       @File SMALLF.FON   @Size 22000  @Out @wSysDir\\*.* 
  538.       @File SSERIFE.FON  @Size 65000  @Out @wSysDir\\*.* 
  539.       @File SSERIFF.FON  @Size 90000  @Out @wSysDir\\*.* 
  540.       @File SYMBOLE.FON  @Size 60000  @Out @wSysDir\\*.* 
  541.       @File SYMBOLF.FON  @Size 80000  @Out @wSysDir\\*.* 
  542.       @File VGAFIX.FON   @Size 6000   @Out @wSysDir\\*.* 
  543.       @File VGAOEM.FON   @Size 6000   @Out @wSysDir\\*.* 
  544.       @File VGASYS.FON   @Size 6000   @Out @wSysDir\\*.* 
  545.     @EndLib
  546.   @EndDisk
  547. @EndIf
  548.  
  549. @If (202 [= @Option) // miro wallpaper
  550.   @DefineDisk
  551.     @Label = "Install disk # 1/1"
  552.     @BeginLib DRIVERS.RED
  553.       @File CRYSTAL.BMP  @Size 80000  @Out CRYS10AD.* @Option 100
  554.     @EndLib
  555.   @EndDisk
  556. @EndIf
  557.  
  558. @If (200 [= @Option    // copy if Windows drivers
  559.     || 201 [= @Option) // or miro windows tools
  560.   @DefineDisk
  561.     @Label = "Install disk # 1/1"
  562.     @BeginLib MWINTOOL.RED
  563.       @File MWINTOOL.DEU @Size 15000  @Out *.INI @Group D
  564.       @File MWINTOOL.ENG @Size 15000  @Out *.INI @Group E
  565.       @File MONSEL.EXE   @Size 100000 @Out *.*
  566.       @File MONSEL.DEU   @Size 34000  @Out *.HLP @Group D
  567.       @File MONSEL.ENG   @Size 33000  @Out *.HLP @Group E
  568.       @File MSUPSCRN.EXE @Size 90000  @Out *.*
  569.       @File MSUP.DEU     @Size 26000  @Out *.HLP @Group D
  570.       @File MSUP.ENG     @Size 25000  @Out *.HLP @Group E
  571.  
  572.       @File MTINT.EXE    @Size 95000  @Out *.*
  573.       @File MTINTDEU.HLP @Size 45000  @Out MTINT.HLP @Group D
  574.       @File MTINTENG.HLP @Size 45000  @Out MTINT.HLP @Group E
  575.       @File MTINTDEU.INI @Size 2500   @Out MTINT.INI @Group D
  576.       @File MTINTENG.INI @Size 2500   @Out MTINT.INI @Group E
  577.     @EndLib
  578.   @EndDisk
  579. @EndIf
  580.  
  581. @If (201 [= @Option) // miro windows tools
  582.   @DefineDisk
  583.     @Label = "Install disk # 1/1"
  584.     @BeginLib MWINTOOL.RED
  585.       @File MIROSCOP.EXE @Size 100000 @Out *.*
  586.       @File MIROHOOK.DLL @Size 5000   @Out *.*
  587.       @File MSCOPE.DEU   @Size 55000  @Out *0.HLP @Group D
  588.       @File MSCOPE.ENG   @Size 55000  @Out *0.HLP @Group E
  589.       @File MSIZER.EXE   @Size 35000  @Out *.*
  590.       @File VPM.EXE      @Size 40000  @Out *.*
  591.       @File VPMDLL.DLL   @Size 25000  @Out *.*
  592.     @EndLib
  593.   @EndDisk
  594. @EndIf
  595.  
  596.  
  597. //*** set variables in .INI files *********************************************
  598.  
  599. @If (200 [= @Option) // Windows drivers
  600.   @SetINI ("boot.description", "displayinf2",, "system.ini")
  601.   @SetINI ("mboot.description", "displayinf2",, "system.ini")
  602.   @SetINI ("mboot.description", "bootdrive", "@bdrive", "system.ini")
  603.   @SetINI ("mboot.description", "mboot","1", "system.ini")
  604.   @If (100 [= @Option)
  605.     @SetINI ("boot.description", "displayinf", "OEMC10AD.INF", "system.ini")
  606.     @SetINI ("mboot.description", "displayinf", "OEMC10AD.INF", "system.ini")
  607.   @EndIf
  608.   @SetINI ("mboot.description", "boardfam","ALIEN", "system.ini")
  609. @EndIf
  610.  
  611. @If (202 [= @Option) // miro wallpaper
  612.   @SetINI ("Desktop", "TileWallpaper", "1", "win.ini")
  613.  
  614.   @If (100 [= @Option)
  615.     @SetINI ("Desktop", "Wallpaper", "crys10ad.bmp", "win.ini")
  616.   @EndIf
  617. @EndIf
  618. @If (200 [= @Option || 201 [= @Option)
  619.   @SetINI ("TintControl", "CLUT1", " ", "win.ini")
  620.   @SetINI ("TintControl", "CLUT2",, "win.ini")
  621. @EndIf
  622.  
  623.  
  624. //*** old software to be deleted **********************************************
  625.  
  626. @If (200 [= @Option || 201 [= @Option)
  627.   @Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
  628.   @Delete ("@OutDrive:@SubDir\\*.MIR")
  629.   @Delete ("@OutDrive:@SubDir\\MSUP?.HLP")
  630.   @Delete ("@OutDrive:@SubDir\\MSUPVIR?.HLP")
  631.   @Delete ("@OutDrive:@SubDir\\MSCOPE1.HLP")
  632.   @Delete ("@OutDrive:@SubDir\\MSCOPE2.HLP")
  633.   @Delete ("@OutDrive:@SubDir\\MSCOPE3.HLP")
  634.   @Delete ("@OutDrive:@SubDir\\MSCOPE4.HLP")
  635.   @Delete ("@OutDrive:@SubDir\\MTINTRUN.EXE")
  636. @EndIf
  637.  
  638. @If (200 [= @Option && @DirExists ("@OutDrive:@SubDir\\SYSTEM"))
  639.   @Delete ("@OutDrive:@SubDir\\OEMC10AD.*")
  640. @EndIf
  641.  
  642.  
  643. //*** project trailer block ***************************************************
  644.  
  645. @Finish
  646.   @BackGroundMode (3,@Blue, @Blue)
  647.   @WinExec ("PROGMAN.EXE", 1) 
  648.  
  649.   @If (200 [= @Option || 201 [= @Option)
  650.     @ProgramManager ("[CreateGroup (miroWINTOOLS, MWINTOOL.GRP)]")
  651.     @Delay = @SystemDate 
  652. La: @If (@SystemDate - @Delay <= @d) @Goto La @EndIf 
  653.     @ProgramManager ("[ReplaceItem (miro SUPERSCREEN)]")
  654.     @Delay = @SystemDate 
  655. Lb: @If (@SystemDate - @Delay <= @d) @Goto Lb @EndIf 
  656.     @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSUPSCRN.EXE, miro SUPERSCREEN)]")
  657.     @Delay = @SystemDate 
  658. Lc: @If (@SystemDate - @Delay <= @d) @Goto Lc @EndIf 
  659.     @ProgramManager ("[ReplaceItem (miro MONITOR SELECT)]")
  660.     @Delay = @SystemDate 
  661. Ld: @If (@SystemDate - @Delay <= @d) @Goto Ld @EndIf 
  662.     @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MONSEL.EXE, miro MONITOR SELECT)]")
  663.     @Delay = @SystemDate 
  664. Le: @If (@SystemDate - @Delay <= @d) @Goto Le @EndIf 
  665.     @ProgramManager ("[ReplaceItem (miroTINT CONTROL)]")
  666.     @Delay = @SystemDate 
  667. Lf: @If (@SystemDate - @Delay <= @d) @Goto Lf @EndIf 
  668.     @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MTINT.EXE, miroTINT CONTROL)]")
  669.     @Delay = @SystemDate 
  670. Li: @If (@SystemDate - @Delay <= @d) @Goto Li @EndIf 
  671.  
  672.     @If (201 [= @Option) // miro windows tools
  673.       @ProgramManager ("[ReplaceItem (miroSCOPE)]")
  674.       @Delay = @SystemDate 
  675. Ll: @If (@SystemDate - @Delay <= @d) @Goto Ll @EndIf 
  676.       @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MIROSCOP.EXE, miroSCOPE)]")
  677.       @Delay = @SystemDate 
  678. Lm: @If (@SystemDate - @Delay <= @d) @Goto Lm @EndIf 
  679.       @ProgramManager ("[ReplaceItem (miroSIZE CALIBRATION)]")
  680.       @Delay = @SystemDate 
  681. Ln: @If (@SystemDate - @Delay <= @d) @Goto Ln @EndIf 
  682.       @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSIZER.EXE, miroSIZE CALIBRATION)]")
  683.       @Delay = @SystemDate 
  684. Lo: @If (@SystemDate - @Delay <= @d) @Goto Lo @EndIf 
  685.       @ProgramManager ("[AddItem (@OutDrive:@SubDir\\VPM.EXE, VESA Power Manager)]")
  686.       @Delay = @SystemDate 
  687. Lp: @If (@SystemDate - @Delay <= @d) @Goto Lp @EndIf 
  688.     @EndIf
  689.  
  690.     @ProgramManager ("[DeleteItem (miro TWINFACE)]")
  691.     @Delay = @SystemDate 
  692. Lq: @If (@SystemDate - @Delay <= @d) @Goto Lq @EndIf 
  693.     @ProgramManager ("[ReplaceItem (Information)]")
  694.     @Delay = @SystemDate 
  695. Lr: @If (@SystemDate - @Delay <= @d) @Goto Lr @EndIf 
  696.     @ProgramManager ("[AddItem (NOTEPAD minfo.txt, Information, MONSEL.EXE, 1)]")
  697.     @Delay = @SystemDate 
  698. Ls: @If (@SystemDate - @Delay <= @d) @Goto Ls @EndIf 
  699.     @ProgramManager ("[ShowGroup (miroWINTOOLS, 1)]")
  700.     @Delay = @SystemDate 
  701. Lt: @If (@SystemDate - @Delay <= @d) @Goto Lt @EndIf 
  702.   @EndIf
  703.  
  704.   @ChDrive (@WindowsDrive)
  705.   @ChDir ("@WindowsDir")
  706.   @If (200 [= @Option) // Windows drivers
  707.     @ReturnValue (4711)
  708.     @WinExec ("@OutDrive:@SubDir\\MONSEL.EXE", 1) 
  709.   @EndIf
  710. @EndFinish
  711.  
  712.  
  713. //*** eof *********************************************************************
  714.  
  715.